package com.burgeon.backend.SHOPBACKEND.mappers;

import com.burgeon.backend.SHOPBACKEND.entity.Acc;
import com.burgeon.backend.SHOPBACKEND.entity.OrderVO.OrderEntity;
import com.burgeon.backend.SHOPBACKEND.entity.OrderVO.OrderGoodsVO;
import com.burgeon.backend.SHOPBACKEND.entity.ShopOrder;

import java.util.List;

public interface BackendOrderMapper {

    List<OrderEntity> findOrderByInformation(String account);


    Integer createOrderRemark(String oid,String remark);


    Integer upOrderRemark(String oid,String remark);

    //获取订单备注
    String getOrderRemark(String id);

    List<OrderGoodsVO> findOrderItemVO(String id);

    OrderEntity findOrderById(String id);


    List<OrderEntity> GetOrderData(String account, String state, int start);

    int GetOrderDataCount(String account, String state);

    String findOpenidByUid(String uid);

    List<ShopOrder> QueryOrderByState(String state, String account);


    List<String> QueryOrderRetailCode(String state);

    //修改订单状态
    Integer UpOrderState(String id, String state,String time);

    Integer InOrderMail(String name, String code, String oid);

    //查询acc
    List<Acc> QuerryAcc();

    List<Acc> QuerryAccIsApp();
}
